package com.hl.toolkit.server.tycoin.setting.slaveentity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.tycoin.common.entity.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Entity
@Table(name="tycoin_rate")
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" }) 
 public class TycoinRate  extends AbstractEntity implements java.io.Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7593176818663520900L;

 
 	
	
	@Column(name = "recharge")
	private BigDecimal recharge;

 	@Column(name = "order_up")
	private BigDecimal orderUp;
	
	@Column(name = "order_down")
	private BigDecimal orderDown;
	
 	@Column(name = "withdrawals")
	private BigDecimal withdrawals;

	public BigDecimal getRecharge() {
		return recharge;
	}

	public void setRecharge(BigDecimal recharge) {
		this.recharge = recharge;
	}

	public BigDecimal getOrderUp() {
		return orderUp;
	}

	public void setOrderUp(BigDecimal orderUp) {
		this.orderUp = orderUp;
	}

	public BigDecimal getOrderDown() {
		return orderDown;
	}

	public void setOrderDown(BigDecimal orderDown) {
		this.orderDown = orderDown;
	}

	public BigDecimal getWithdrawals() {
		return withdrawals;
	}

	public void setWithdrawals(BigDecimal withdrawals) {
		this.withdrawals = withdrawals;
	}

	public TycoinRate(BigDecimal recharge, BigDecimal orderUp, BigDecimal orderDown, BigDecimal withdrawals) {
		super();
		this.recharge = recharge;
		this.orderUp = orderUp;
		this.orderDown = orderDown;
		this.withdrawals = withdrawals;
	}

	public TycoinRate() {
		super();
	}
 	
 	
	
	
	
 
}
